package com.baseframe.blog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baseframe.blog.entity.SnsBlog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baseframe.blog.entity.request.SnsBlogRequest;
import com.baseframe.blog.entity.vo.SnsBlogVO;

import java.util.List;

/**

* @description 针对表【sns_blog(博客表)】的数据库操作Service
* @createDate 2023-06-23 17:55:58
*/
public interface SnsBlogService extends IService<SnsBlog> {

    Page<SnsBlogVO> blogPageList(Page<SnsBlogVO> page, SnsBlogRequest request);

    boolean examineBlog(SnsBlogRequest request);

    List<SnsBlogVO> getNewList();

    Page<SnsBlogVO> blogPageListByFront(Page<SnsBlogVO> page, SnsBlogRequest request);

    SnsBlogVO getDetails(SnsBlogRequest request);

    Page<SnsBlogVO> ownBlogPageList(Page<SnsBlogVO> page, SnsBlogRequest request);

    SnsBlogVO getDetailsByUnconditional(SnsBlogRequest request);
}
